//封装cookies存取模块
import Cookies from "js-cookie";
const KEY ='token_key'
//读取cookie
export function getCookie () {
  return Cookies.get(KEY)
}
//存储cookie
export function setCookie (value) {
  Cookies.set(KEY, value)
}
//删除cookie
export function removeCookie () {
  Cookies.remove(KEY)
}